using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DataModels.Models
{
    [Table("ModemSettings")]
    public partial class ModemSetting
    {
        public ModemSetting()
        {
            this.ModemAssociatedCellNumbers = new List<ModemAssociatedCellNumber>();
        }

        [Key]
        public int ModemSettingNo { get; set; }

        [StringLength(50)]
        public string ModemName { get; set; }

        [StringLength(50)]
        public string PortName { get; set; }
        public Nullable<int> BaudRate { get; set; }
        public Nullable<int> DataBits { get; set; }
        public Nullable<int> StopBits { get; set; }

        [StringLength(50)]
        public string ParityBits { get; set; }
        public Nullable<int> ReadTimeout { get; set; }
        public Nullable<int> WriteTimeout { get; set; }
        public virtual List<ModemAssociatedCellNumber> ModemAssociatedCellNumbers { get; set; }
    }
}
